import sys

import yaml

from pathlib import Path
sys.path.append(str(Path(__file__).parent.parent.parent))

from handle.handle_path import BASEDIR


def loadConfigure():
    """
    处理配置文件config.yaml
    :return:
    """
    with open(BASEDIR + "/config/config.yaml", "r", encoding='utf-8') as ly:
        ele = yaml.safe_load(ly)
        return ele



